if((retcode = pthread_create(&tid, NULL, thread, NULL)) != 0){
	fprintf(stderr, "pthread_create error: %s\n", strerror(retcode));
	exit(0);
}
